package com.investmenttechnologyservices.datadictionary;

import java.util.Map;

public class EntityMetadata {
	private final String kind;
	private final Map<String,FieldMetadata> fields;
	
	private final boolean longId;
	private final String parent;
	private final boolean parentLongId;
	
	public EntityMetadata(String kind, boolean longId, Map<String,FieldMetadata> fields, String parent, boolean parentLongId) {
		this.kind = kind;
		this.longId = longId;
		this.fields = fields;
		this.parent = parent;
		this.parentLongId = parentLongId;
	}
	public String getKind() {
		return kind;
	}
	public boolean isLongId() {
		return longId;
	}
	public Map<String,FieldMetadata> getFields() { 
		return fields;
	}
	public String getParent() {
		return parent;
	}
	public boolean isParentLongId() {
		return parentLongId;
	}
}
